package co.edu.usbcali.modelo.control;

import co.edu.usbcali.modelo.Empresa;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 *
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IEmpresaLogic {
    public List<Empresa> getEmpresa() throws Exception;

    public void saveEmpresa(String direccionEmp,
        String emailEmp, String nitEmp, String nombreEmp, String telefonoEmp)
        throws Exception;

    public void deleteEmpresa(Long codigoEmp) throws Exception;

    public void updateEmpresa(Long codigoEmp, String direccionEmp,
        String emailEmp, String nitEmp, String nombreEmp, String telefonoEmp)
        throws Exception;

    public Empresa getEmpresa(Long codigoEmp) throws Exception;

    public List<Empresa> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Empresa> findPageEmpresa(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberEmpresa() throws Exception;
}
